﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <link href="css/asyncbox.css" rel="stylesheet" type="text/css" />
    <link href="css/pickerbox.css" rel="stylesheet" type="text/css" />
    <script src="script/jquery-1.5.2.min.js" type="text/javascript"></script>
    <script src="script/pickerbox.js" type="text/javascript"></script>
    <script src="script/AsyncBox.v1.4.5.js" type="text/javascript"></script>
    <title>pickerbox2</title>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#pickerbox2").pickerbox({ title: "选择对象", ismultiple: true, height: "100px", width: "300px", text: "北京", value: "1"
             , pickergird: {
                 fieldtext: "attr1",
                 fieldvalue: "itemid"
             },
                onselected: function (p) {
                    alert("已选值为:" + p.value + " 已选文本为:" + p.text);
                }
            });
        })
    </script>
</head>
<body>
    <select id="pickerbox2"></select>
    <span style="font-size: 13px">我是被iframe引用的.</span>
</body>
</html>
